<ion-view>
  <ion-header-bar class="bar bar-positive">
    <button class="button back-button buttons icon ion-ios-arrow-left button-clear" nav-direction="back" ng-click="$ionicGoBack()">返回</button>
    <h3 class="title">打印设置</h3>
    <button class="button button-icon" ng-click="savaPrint()">保存</button>
  </ion-header-bar>
  <ion-content>
    <ion-list class="myList">
      <div class="item item-input">
        <div class="row" style="padding-left: 0px;">
          <i class="ion-printer icon iconWth" style="color: #ff5722;margin-top: 5px;"></i>
          <i class="text" style="margin-top: 9px;">添加打印机</i>
          <input ng-click="scanBluetooth()" type="text" class="addPrintTxt" id="Bluetooth" readonly>
        </div>
      </div>
      <div class="white"></div>
      <ion-toggle ng-model="prints.shipper_flag">
        <i class="ion-card icon iconWth" style="color: #8bc34a;"></i>
        <i class="text">打印发货人存根</i>
      </ion-toggle>
      <ion-toggle ng-model="prints.company_flag">
        <i class="ion-home icon iconWth" style="color: #ff9800;"></i>
        <i class="text">打印物流公司存根</i>
      </ion-toggle>
      <ion-toggle ng-model="prints.goods_flag">
        <i class="ion-ios-browsers icon iconWth" style="color: #03a9f4;"></i>
        <i class="text">打印货物标贴</i>
      </ion-toggle>
      <!--<ion-toggle ng-model="prints.infofee_flag">-->
        <!--<i class="ion-social-usd icon iconWth" style="color: #ff5722;"></i>-->
        <!--<i class="text">打印信息费</i>-->
      <!--</ion-toggle>-->
      <label class="item item-input item-select">
        <i class="ion-settings icon iconWth" style="color: #ff9800;"></i>
        <i class="text" >标贴打印行为</i>
        <select style="left: 70%;" id="print_behave">
          <option selected value="1">按件数</option>
          <option value="0">自定义</option>
        </select>
      </label>
      <label class="item item-input">
        <i class="ion-social-tumblr icon iconWth" style="color: #03a9f4;"></i>
        <i class="input-label col-25 text">存根标题</i>
        <input type="text" placeholder="请输入存根标题" maxlength="10" ng-model="prints.company_name">
      </label>
      <label class="item item-input">
        <i class="ion-social-whatsapp icon iconWth" style="color: #8bc34a;"></i>
        <i class="input-label col-25 text">客服电话</i>
        <input type="tel" placeholder="请输入客服电话" maxlength="20" ng-model="prints.phone">
      </label>
      <div class="white"></div>
      <div class="item item-input item-divider div bg-white" style="border-bottom: 0;">
        <i class="ion ion-compose calm typeIcon"></i>
        <i class="dark">备注</i>
      </div>
      <div class="item item-input remarks">
        <textarea type="text" ng-model="prints.remark"></textarea>
      </div>
    </ion-list>
  </ion-content>
</ion-view>
